package com.contract.spirit.bean.response

/**
 * @author: witness
 * created: 2021/9/22
 * desc:
 */
data class ExchangeResponse(
    val exchangeList: List<MainPageResponse.ExchangePollInfo>
){
    fun hasNoBindExchange(): Boolean {
        for (i in exchangeList.indices) {
            val exchangeInfo = exchangeList[i]
            if (exchangeInfo.status == 0) {
                return true
            }
        }
        return false
    }
}
